* (bug 2541) Fix unprotect tab
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 26 Jun 2005 21:23:44 +0000 (21:23 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 26 Jun 2005 21:23:44 +0000 (21:23 +0000)
RELEASE-NOTES
includes/Article.php

index ffaa3a5..b2abe69 100644 (file)
@@ -371,6 +371,7 @@ Various bugfixes, small features, and a few experimental things:
 * Try reading revisions from master if no result on slave
 * (bug 2538) Suppress notice on user serialized checks
 * Fix paging on Special:Contributions
+* (bug 2541) Fix unprotect tab
 
 
 === Caveats ===
index dd563ba..9b000a3 100644 (file)
@@ -311,7 +311,7 @@ class Article {
         * @access private
         */
        function loadPageData( $data ) {
-               $this->mTitle->mRestrictions = explode( ',', trim( $data->page_restrictions ) );
+               $this->mTitle->loadRestrictions( $data->page_restrictions );
                $this->mTitle->mRestrictionsLoaded = true;
                
                $this->mCounter    = $data->page_counter;